VT-d/qinval: clean up error handling
authorJan Beulich <jbeulich@suse.com>
Fri, 20 Jun 2014 12:47:55 +0000 (14:47 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 Jun 2014 12:47:55 +0000 (14:47 +0200)
commit59080064611a07ca70ae078980d9d3e2d0391d8b
tree9062a6f2bc6da97f0e119dc8f62b596aa50e4ee5
parent48dfb297a20a8a37de2db45710e3c42db014e7ef
VT-d/qinval: clean up error handling

- neither qinval_update_qtail() nor qinval_next_index() can fail: make
  the former return "void", and drop caller error checks for the latter
  (all of which would otherwise return with a spin lock still held)
- or-ing together error codes is a bad idea

At once drop bogus initializers.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Yang Zhang <yang.z.zhang@intel.com>
xen/drivers/passthrough/vtd/qinval.c